package com.csy.auth.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;

@ApiModel(description = "权限信息")
@Data
@TableName("sys_permission")
public class SysPermission implements Serializable {
    @TableId(value = "id", type = IdType.ASSIGN_ID)
    private Integer id;
    @ApiModelProperty(value = "权限名")
    private String permissionName;
    @ApiModelProperty(value = "权限码")
    private String permissionCode;
    @ApiModelProperty(value = "菜单地址")
    private String permissionUrl;
    @ApiModelProperty(value = "父菜单id")
    private String parentId;
}
